//
//  HLIMKitInputMoreItem.m
//  YueYue
//
//  Created by hulu001 on 2024/1/12.
//

#import "HLIMKitInputMoreItem.h"

@interface HLIMKitInputMoreItem ()

@property (copy, nonatomic) NSString *selectorName;

@end

@implementation HLIMKitInputMoreItem


+ (instancetype)itemWithTitle:(NSString *)title normalImage:(UIImage *)normalImage selectedImage:(UIImage *)selectedImage selector:(nonnull NSString *)selector
{
    HLIMKitInputMoreItem *item = [HLIMKitInputMoreItem.alloc init];
    item.title = title;
    item.normalImage = normalImage;
    item.selectedImage = selectedImage;
    item.selectorName = selector;
    
    return item;
}

- (SEL)selector
{
    return NSSelectorFromString(_selectorName);
}


@end
